﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;//引用

namespace E_Commerce.Domain.Entities
{
    /// <summary>
    /// 购物车
    /// </summary>
    [Table("ShoppingCar")]
   public class ShoppingCar
    {
        [Key]
        public int CarId { get; set; }
        /// <summary>
        /// 赠送积分
        /// </summary>
        public int Scoure { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int Uid { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
